<include file="Public:header"/>

<div class="table-tit">布点人员信息编辑</div>

<div class="form-panel">
    <div class="row">
        <div class="col-md-5">
            <form action="{:U('Curd/editons','type=Saleagent&str=sag_id&id='.$data['sag_id'])}" method="post">
                <div class="form-group">
                    <label>姓名</label>
                    <input type="text" name="sag_name" class="form-control input-sm" value="{$data.sag_name}">
                </div>
                <div class="form-group">
                    <label>电话</label>
                    <input type="text" name="sag_phone" class="form-control input-sm" value="{$data.sag_phone}">
                </div>
                <div class="form-group">
                    <label>类型</label>
                    <input type="text" name="sag_type" class="form-control input-sm" value="{$data.sag_type}">
                </div>
                <div class="form-group">
                    <label>收款银行</label>
                    <input type="text" name="sag_bank" class="form-control input-sm" value="{$data.sag_bank}">
                </div>
                <div class="form-group">
                    <label>收款人</label>
                    <input type="text" name="sag_payee" class="form-control input-sm" value="{$data.sag_payee}">
                </div>
                <div class="form-group">
                    <label>银行账号</label>
                    <input type="text" name="sag_baccount" class="form-control input-sm" value="{$data.sag_baccount}">
                </div>
                <div class="form-group">
                    <label>状态</label>
                    <select name="sag_status" class="form-control input-sm">
                        <option value="0">请选择</option>
                        <option value="1" <if condition="1 eq $data['sag_status']">selected</if>>启用</option>
                        <option value="2" <if condition="2 eq $data['sag_status']">selected</if>>暂停</option>
                    </select>
                </div>
                <button type="submit" class="btn btn-default">更新</button>
            </form>

        </div>
    </div>
</div>

<include file="Public:footer"/>